package com.platform.destiny.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.platform.destiny.dto.UserPageReq;
import com.platform.destiny.entity.User;


public interface UserMapper extends BaseMapper<User> {

    /**
     * 根据用户名查询
     */
    User queryUserByName(String username);


    Page<User> queryUserPageList(UserPageReq userReq);


}
